* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    cursor: crosshair;
    color: white;
    background-color: black;
    font-family: "Aldrich", sans-serif;  /* Fixed: Applied Aldrich font */
    overflow-x: hidden;
    background-image: url('Images/waterbkg.png');
    background-size: cover;
    background-repeat: no-repeat;
    background-attachment: fixed;
    min-height: 100vh;
} 



/* Removed broken @font-face - use Google Fonts link in HTML instead */

/* Default link color */
nav a {
    color: #ffff00; 
    text-decoration: none;
}

/* Visited link color */
nav a:visited {
    color: #ffff00;
}

/* Hover effect */
nav a:hover {
    color: #00ffff;
    text-decoration: underline;
}

/* Active/clicked link */
nav a:active {
    color: #ff0000;
}
/* Small corner button */
.corner-btn {
    position: fixed;
    top: 20px;
    right: 20px;
    padding: 8px 12px;
    font-size: 12px;
    background: linear-gradient(135deg, #008080 0%, #006666 100%);
    border: 2px outset #c0c0c0;
    color: #ffff00;
    cursor: crosshair;
    border-radius: 5px;
    z-index: 1000;
    box-shadow: 
        inset 1px 1px 0 rgba(255, 255, 255, 0.5),
        inset -1px -1px 0 rgba(0, 0, 0, 0.5),
        2px 2px 0 rgba(0, 0, 0, 0.3);
}

.corner-btn:hover {
    background: linear-gradient(135deg, #00ffff 0%, #008080 100%);
    color: #000;
    transform: scale(1.05);
}

.corner-btn:active {
    border-style: inset;
}
.box {
    max-width: 1000px; 
    margin: 50px auto;
    display: grid;
    grid-gap: 10px;
    grid-template-columns: 200px auto;
    grid-template-rows: auto auto auto auto;
}

header, nav, main, footer {
    border: 3px outset #c0c0c0;
    padding: 20px;
    background: linear-gradient(135deg, #008080 0%, #006666 100%);
    box-shadow: 
        inset 2px 2px 0 rgba(255, 255, 255, 0.5),
        inset -2px -2px 0 rgba(0, 0, 0, 0.5),
        4px 4px 0 rgba(0, 0, 0, 0.3);
    border-radius: 0;
}

header {
    grid-row: 1 / 2;
    grid-column: 1 / 3;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100px;
    background: linear-gradient(135deg, #008080 0%, #006666 100%);
    border: 3px outset #c0c0c0;
}

nav {
    grid-row: 2 / 3;
    grid-column: 1 / 2;
    height: max-content;
}

nav ul {
    list-style: none;
}

nav li {
    padding: 10px 0;
    border-bottom: 2px groove #c0c0c0;
}

nav li:last-child {
    border-bottom: none;
}

.badge-section {
    grid-row: 4 / 5;
    grid-column: 2 / 3;
    border: 3px outset #c0c0c0;
    padding: 0;
    background: linear-gradient(135deg, #008080 0%, #006666 100%);
    box-shadow: 
        inset 2px 2px 0 rgba(255, 255, 255, 0.5),
        inset -2px -2px 0 rgba(0, 0, 0, 0.5),
        4px 4px 0 rgba(0, 0, 0, 0.3);
}

.badge-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 0;
    line-height: 0;
}

.badge {
    width: 100%;
    height: 88px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    margin: 0;
    padding: 0;
    border: none;
    line-height: 0;
}

.badge img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
    vertical-align: top;
}

.gallery {
    width: 100%;
    max-width: 800px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin: 20px auto;
}
  
.gallery img {
    width: 200px;
    height: 200px;
    object-fit: cover;
    border: none;  /* Changed from: border: 3px outset #c0c0c0; */
    background: transparent;  /* Changed from: background: #008080; */
    cursor: pointer;
    transition: transform 0.3s;
}
  
.gallery img:hover {
    transform: scale(1.1);
    object-fit: contain;
    border: none;  /* Changed from: border: 3px inset #c0c0c0; */
}

#marquee {
    border: 2px outset #c0c0c0;
    padding: 5px;
    background: linear-gradient(135deg, #008080 0%, #006666 100%);
    box-shadow: 
        inset 2px 2px 0 rgba(255, 255, 255, 0.5),
        inset -2px -2px 0 rgba(0, 0, 0, 0.5),
        4px 4px 0 rgba(0, 0, 0, 0.3);
    overflow: hidden;
    white-space: nowrap;
    display: flex;
    flex-wrap: nowrap;
    flex-direction: row;
    
}

#mdiv1 {
    display: inline-block;
    animation: marquee 26s linear infinite;
    animation-delay: -13s;
    padding-left: 10px;
}

#mdiv2 {
    display: inline-block;
    animation: marquee2 26s linear infinite;
    animation-delay: -26s;
}

@keyframes marquee {
    from { transform: translateX(100%); }
    to { transform: translateX(-100%); }
}

@keyframes marquee2 {
    from { transform: translateX(0%); }
    to { transform: translateX(-200%); }
}


/* Modal styles */
#imageModal {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    cursor: pointer;
}

#modalImage {
    display: block;
    margin: auto;
    max-width: 90%;
    max-height: 90%;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border: 3px solid #00ffff;
}

.close {
    position: absolute;
    top: 20px;
    right: 40px;
    color: #00ffff;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
}

.close:hover {
    color: #ffff00;
}
.musiclist {
    list-style: none;
    padding: 0;
    margin-bottom: 20px;
}

.musiclist li {
    background: rgba(0, 0, 0, 0.66);
    margin: 5px 0;
    transition: .3s;
    padding: 10px;
    border-radius: 5px;
    border: 2px solid #00ffff;
    cursor: pointer;
}

.musiclist li:hover {
    background: rgba(0, 0, 0, 0.90);
    transform: scale(1.01);
}

.musiclist li.active {
    background: rgba(0, 255, 255, 0.2);
    border-color: #ffff00;
}

.music-link {
    color: white;
    text-decoration: none;
    display: block;
}

.music-link:hover {
    color: #00ffff;
}

#musicplayer {
    width: 100%;
    background: #000;
    border: 2px solid #00ffff;

    .data-note {
    margin: 5px 0 0 0;
    font-size: 12px;
    color: #00ffff;
    opacity: 0;
    max-height: 0;
    overflow: hidden;
    transition: opacity 0.3s, max-height 0.3s;
}

.musiclist li:hover .song-note {
    opacity: 1;
    max-height: 100px;
}
}.musiclist li {
    position: relative;
}

.musiclist li::after {
    content: attr(data-note);
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    background: #000;
    color: #00ffff;
    padding: 10px;
    border: 2px solid #00ffff;
    border-radius: 5px;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s;
    z-index: 1000;
    margin-bottom: 5px;
    font-size: 14px;
}

.musiclist li:hover::after {
    opacity: 1;
}#musicplayer {
    width: 100%;
    height: 50px;
    background: #c0c0c0;
    border: 3px groove #808080;
    padding: 5px;
    filter: none;
}

#musicplayer::-webkit-media-controls-panel {
    background: #c0c0c0;
}

#musicplayer::-webkit-media-controls-play-button {
    background-color: #00ffff;
    border: 2px outset #c0c0c0;
}